package com.hzit.payweb.api.enums;

public enum PayWayEnum {

    ALIPAY_QRCODE_PAY ("alipay.trade.precreate","支付宝扫码支付"),
    ALIPAY_WAP_PAY("alipay.trade.wap.pay","手机网站支付接口2.0"),
    WECHAT_QRCODE_PAY("wechat.qrCode.pay","微信扫码支付");


    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    private String desc;


    PayWayEnum(String code,String desc){
        this.code = code;
        this.desc = desc;
    }

    //根据code获取desc

    //根据描述获取code
}
